package com.lanjiyin.cloud.api.entity;

import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 题库关注公众号解锁
 * 
 * @author tudaojun
 * @email 1208386700@qq.com
 * @date 2021-07-23 10:16:46
 */
@ApiModel(value = "题库关注公众号解锁")
@Data
@Table(name = "ljy_webchat_question_unlock")
public class WebchatQuestionUnlock implements Serializable {
	private static final long serialVersionUID = 1L;
	
	   
    @ApiModelProperty(value = "")
    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;
    
			    
    @ApiModelProperty(value = "用户id")
    @Column(name = "user_id")
    private Integer user_id;
				    
    @ApiModelProperty(value = "学科id 用于解锁查询使用")
    @Column(name = "chapter_parent_id")
    private Integer chapter_parent_id;
				    
    @ApiModelProperty(value = "题库年份")
    @Column(name = "year")
    private String year;
				    
    @ApiModelProperty(value = "类型（1：题库学科  2：题库年份  3：组题学科）")
    @Column(name = "type")
    private Integer type;
				    
    @ApiModelProperty(value = "app_id")
    @Column(name = "app_id")
    private String app_id;
				    
    @ApiModelProperty(value = "app类型")
    @Column(name = "app_type")
    private String app_type;
				    
    @ApiModelProperty(value = "手机号")
    @Column(name = "mobile")
    private String mobile;
				    
    @ApiModelProperty(value = "手机号加密串")
    @Column(name = "mobile_desc")
    private String mobile_desc;
				    
    @ApiModelProperty(value = "描述")
    @Column(name = "desc")
    private String desc;
				    
    @ApiModelProperty(value = "ip")
    @Column(name = "ip")
    private String ip;
				    
    @ApiModelProperty(value = "")
    @Column(name = "ctime")
    private Integer ctime;
		
}
